Hypothesis Testing for Proportions

Hypothesis Tests for Proportions

Test Selection Guide

Test Type When to Use Key Conditions Example
Single Proportion Compare to hypothesized value np010, n(1p0)10 Testing if majority supports (p > 0.5)
Difference in Proportions Compare two groups All np^10 Comparing treatment success rates

Single Proportion Test

Hypotheses Structure

Type Symbolic Form Example
Null H0:p=p0 H0:p=0.5
Right-tailed Ha:p>p0 Ha:p>0.5
Left-tailed Ha:p<p0 Ha:p<0.5
Two-tailed Ha:pp0 Ha:p0.5

Test Statistic Components

Component Formula/Value Description
Statistic Z=p^p0p0(1p0)n Test statistic
p^ successesn Sample proportion
p0 Hypothesized value Null value
n Sample size Number of observations

Conditions Checklist

Condition Requirement How to Verify
Random Sample Independent observations Study design
Success-Failure np010 Calculate np0
n(1p0)10 Calculate n(1p0)

Distribution Properties

Aspect Details Notes
Type Normal approximation Based on Central Limit Theorem
Center p0 under H0 Null hypothesis value
Spread p0(1p0)n Standard error

Difference of Proportions Test

Hypotheses Structure

Type Symbolic Form Interpretation
Null H0:p1p2=0 No difference
Alternative Ha:p1p2 [<, >, ≠] 0 Difference exists

Test Statistic Components

Component Formula Purpose
Pooled Proportion p^=x1+x2n1+n2 Combined estimate under H0
Test Statistic Z=(p^1p^2)p^(1p^)(1n1+1n2) Standardized difference

Success-Failure Conditions

Group Conditions Example Check
Group 1 n1p^10 100(0.5) = 50 ✓
n1(1p^)10 100(0.5) = 50 ✓
Group 2 n2p^10 100(0.5) = 50 ✓
n2(1p^)10 100(0.5) = 50 ✓

Common Applications

Application Example Key Considerations
A/B Testing Website conversion Independence
Clinical Trials Treatment success Randomization
Survey Analysis Response differences Sample selection
Quality Control Defect rates Time independence

Best Practices

Reporting Template

Element Content Example
Context Research question "Testing if new treatment improves success rate"
Method Test type and conditions "Two-proportion z-test, conditions met"
Results Statistics and p-value "z = 2.45, p = 0.014"
Conclusion Interpretation "Evidence suggests improvement of 12%"

Interpretation Guide

Finding Statistical Meaning Practical Action
Significant Difference Reject H0 Consider effect size
No Significant Difference Fail to reject H0 Consider power
Large Effect Practical importance Implement changes
Small Effect Statistical significance only Consider costs